import { RouterModule } from '@angular/router';

import { PanelsComponent } from './panels-main/panels.component';
import { StudentComponent } from '../student/student.component';
import { ParentsComponent } from '../parents/parents.component';

export const panelsRoutes = [
	{
		path: '',
		component: PanelsComponent,
		children: [
			{ path: '', redirectTo: 'student', pathMatch: 'full' },
			{ path: 'student', component: StudentComponent },
			{ path: 'parents', component: ParentsComponent }
		]
	}
];